home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
3D Buttons CDEF 1.0b6
/
Source
/
3D Buttons CDEF source
/
(3D CDEF++.68k.π)
/
StSaveEm.h
< prev
next >
Wrap
Text File
|
1994-12-28
|
548b
|
37 lines
/*
Public domain by Zig Zichterman.
*/
/*
StSaveEm
A class that saves the following on construction and restores on
destruction:
• clip region (StSaveClip)
• text state (StSaveText)
• pen state (StSavePen)
• color (StSaveColor)
12/27/94 zz h initial write
*/
#pragma once
#include "StSaveClip.h"
#include "StSaveColor.h"
#include "StSavePen.h"
#include "StSaveFont.h"
class StSaveEm
{
public :
void
Save(void);
void
Restore(void);
StSaveClip mClip;
StSaveFont mText;
StSavePen mPen;
StSaveColor mColor;
};